﻿@model AgileZen.Models.People

@{
    ViewBag.Title = "Members";
}

<h2>ProjectMembers</h2>

<fieldset>
    <legend>People</legend>

    <div class="display-label">Members</div>
    <div class="display-field">
    <table>
    <tr>
        <td>Name</td>
        <td>UserName</td>
        <td>Email</td>
        <td>Bio</td>
    </tr>
    @foreach (var member in Model.Items)
    { 
        <tr>
            <td>@member.Name</td>
            <td>@member.UserName</td>
            <td>@member.Email</td>
            <td>@member.Bio</td>
        </tr>
    }
    </table>
    </div>

    <div class="display-label">Page</div>
    <div class="display-field">@Model.Page</div>

    <div class="display-label">PageSize</div>
    <div class="display-field">@Model.PageSize</div>

    <div class="display-label">TotalItems</div>
    <div class="display-field">@Model.TotalItems</div>

    <div class="display-label">TotalPages</div>
    <div class="display-field">@Model.TotalPages</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) |
    @Html.ActionLink("Back to List", "Index")
</p>



